﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="jq_linkmanlist.aspx.cs" Inherits="temp_jq_linkmanlist" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>获得联系人列表</title>
	<script type="text/javascript" src="../jquery/126/jquery-1.2.6.js"></script>	<script language="javascript" type="text/javascript">	    function GetNameList()	    {	        var urlstring='../ajax/linkmanlist.ashx';	        	        $.ajax({	            url:urlstring,	            type:'get',	            dataType:'html',	            beforeSend:function()	            {	                $("#namelist").empty().append("<img id='loading' src='../images/loading2.gif' />loading...");	            },	            error:function()	            {	                $("#namelist").empty().append('数据读取失败！');	            },	            success: function(msg)	            {	                $("#namelist").empty().append(msg);	            }	        });	    }	    $(document).ready(function(){GetNameList();});	</script></head>
<body>
    <form id="form1" runat="server">
    <div>
        <div id="namelist"></div>
    </div>
    </form>
</body>
</html>
